package com.demo.zhlg.entity;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *  实体类。
 *
 * @author lenovo
 * @since 2025-04-26
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(value = "tasks")
public class Tasks implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id
    private Integer taskId;

    private Integer publisherId;

    private String taskTitle;

    private String taskDescription;

    private Integer taskCategoryId;

    private String taskAddress;

    private String startTime;

    private String endTime;

    private Double workHours;

    private Double salary;

    private String salaryType;

    private Integer requiredPeople;

    private Integer hiredPeople;

    private String skillRequirements;

    private Integer taskStatus;

    private Integer viewCount;

    private Integer applyCount;

    private String createTime;

    private String updateTime;

}
